package main.java.design.facade;

/**
 * <p>
 *     外观模式
 * </p>
 *
 * @author : wangdejian
 * @version 1.0
 * @date : 2020/6/14 10:47
 */
public class Client {

    public static void main(String[] args) {
        CardPhysician cardPhysician = new CardPhysician();
        cardPhysician.cardPhysician("内科医生");

        Register register = new Register();
        register.register();

        Triage triage = new Triage();
        triage.triage();

        //*******************外观模式**********************
        VIPFacade vipFacade = new VIPFacade();
        vipFacade.vipService("外科医生");

    }

}
